import request from './http.request';

//账号密码登陆
export function login(data) {
  return request({
    url: '/enterprise/oauth/login',
    method: 'post',
    data
  });
}

//所在区域
export function getCommonRegion() {
  return request({
    url: '/enterprise/common/region',
    method: 'get'
  });
}

//所属行业
export function getCommonIndustry() {
  return request({
    url: '/enterprise/common/industry',
    method: 'get'
  });
}
//退出
export function logout() {
  return request({
    url: '/enterprise/oauth/logout',
    method: 'post',
  });
}
